package com.mes.cloud.feign.base;

import com.enbatis.mybatisplugs.commons.utils.ResultReturn;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "base",path = "/v1/sys_user")
public interface SysUserFeign {
     @GetMapping("/{id}")
     ResultReturn get(@PathVariable("id") Long id);

     @GetMapping("/user_get/{id}")
      ResultReturn getUser(@PathVariable("id") Long id);
}
